	<!-- Left side column. contains the sidebar -->
	<aside class="main-sidebar">
		<!-- sidebar: style can be found in sidebar.less -->
		<section class="sidebar">
			<!-- sidebar menu: : style can be found in sidebar.less -->
			<ul class="sidebar-menu">
				{volist name="menu_list_cache" id="vo"}
				
				{if condition="in_array($vo['id'],$menu_parents)"}
				<li class="treeview active">
				{else /}
				<li class="treeview">
				{/if}
					<a href="{:Url($vo['control'].'/'.$vo['action'].$vo['data'])}">
						<i class="fa fa-{$vo.icon}"></i> <span>{$vo.name}</span>
						{if condition="count($vo['submenu']) gt 0 && is_array($vo['submenu'])"}
						<span class="pull-right-container">
							<i class="fa fa-angle-left pull-right"></i>
						</span>
						{/if}
					</a>
					{if condition="count($vo['submenu']) gt 0 && is_array($vo['submenu'])"}
					<ul class="treeview-menu menu-open" {if condition="!in_array($vo['id'],$menu_parents)"}style="display: none;"{/if}>
						{volist name="vo.submenu" id="sub"}
						{if condition="in_array($sub['id'],$menu_parents)"}
						<li class="active">
						{else /}
						<li>
						{/if}
							<a href="{:Url($sub['control'].'/'.$sub['action'].$sub['data'])}"><i class="fa fa-{if condition="$sub['icon']"}{$sub.icon}{else /}circle-o{/if}"></i> {$sub.name}
								{if condition="count($sub['submenu']) gt 0 && is_array($sub['submenu'])"}
								<span class="pull-right-container">
									<i class="fa fa-angle-left pull-right"></i>
								</span>
								{/if}
							</a>
							{if condition="count($sub['submenu']) gt 0 && is_array($sub['submenu'])"}
							<ul class="treeview-menu menu-open" {if condition="!in_array($sub['id'],$menu_parents)"}style="display: none;"{/if}>
								{volist name="sub.submenu" id="val"}
								{if condition="in_array($val['id'],$menu_parents)"}
								<li class="active">
								{else /}
								<li>
								{/if}
									<a href="{:Url($val['control'].'/'.$val['action'].$val['data'])}"><i class="fa fa-{if condition="$val['icon']"}{$val.icon}{else /}circle-o{/if}"></i> {$val.name}</a>
								</li>
								{/volist}
							</ul>
							{/if}
						</li>
						{/volist}
					</ul>
					{/if}
				</li>
				{/volist}
			</ul>
		</section>
		<!-- /.sidebar -->
	</aside>